package com.bihu.bihudemo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bihu.bihudemo.entity.Question;
import com.bihu.bihudemo.entity.Tag;
import com.bihu.bihudemo.entity.TagArticleLink;

import java.util.List;

/**
 * (TagArticleLink)表数据库访问层
 *
 * @author makejava
 * @since 2020-07-15 17:10:48
 */
public interface TagArticleLinkDao extends BaseMapper<TagArticleLink> {

    //根据问题ID获取标签列表
    List<Tag>getTagsByArticle(Question question);
}